﻿
/*
 * 文件描述：该文件由代码生成器自动生成，请勿更改
 * 创建时间：2013/4/28 0:06:10
*/
using System;
using System.Collections.Generic;
using System.Data;
using DbMapping.Common;
using VideoCache.Server.DAL;
using VideoCache.Server.Model;

namespace VideoCache.Server.BLL
{
		
		/// <summary>
		/// Map to Table t_agent
		/// </summary>
		public partial class AgentBLL
		{
			public static List<AgentInfo> FindAll(Conditions conditions, Orders orders)
			{
				return AgentDAL.FindAll(conditions, orders);
			}

			public static List<AgentInfo> FindPage(Conditions conditions, Orders orders, int pageIndex, int pageSize, ref int recordCount)
			{
				return AgentDAL.FindPage(conditions, orders, pageIndex, pageSize, ref recordCount);
			}

			public static AgentInfo Find(Conditions conditions, Orders orders)
			{
				return AgentDAL.Find(conditions, orders);
			}

			public static int Add(AgentInfo info)
			{
				return AgentDAL.Add(info);
			}

			public static void Update(AgentInfo info)
			{
				AgentDAL.Update(info);
			}

			public static void Delete(Conditions conditions)
			{
				AgentDAL.Delete(conditions);
			}

			public static bool Exists(Conditions conditions)
			{
				return AgentDAL.Exists(conditions);
			}

			public static int Count(Conditions conditions)
			{
				return AgentDAL.Count(conditions);
			}

						
			
			public static AgentInfo Find(System.Int32 _Id)
			{
				return AgentDAL.Find(_Id);
			}

			public static bool Exists(System.Int32 _Id)
			{
				return AgentDAL.Exists(_Id);
			}

			public static void Delete(System.Int32 _Id)
			{
				AgentDAL.Delete(_Id);
			}
			
		}
		
		/// <summary>
		/// Map to Table t_album
		/// </summary>
		public partial class AlbumBLL
		{
			public static List<AlbumInfo> FindAll(Conditions conditions, Orders orders)
			{
				return AlbumDAL.FindAll(conditions, orders);
			}

			public static List<AlbumInfo> FindPage(Conditions conditions, Orders orders, int pageIndex, int pageSize, ref int recordCount)
			{
				return AlbumDAL.FindPage(conditions, orders, pageIndex, pageSize, ref recordCount);
			}

			public static AlbumInfo Find(Conditions conditions, Orders orders)
			{
				return AlbumDAL.Find(conditions, orders);
			}

			public static int Add(AlbumInfo info)
			{
				return AlbumDAL.Add(info);
			}

			public static void Update(AlbumInfo info)
			{
				AlbumDAL.Update(info);
			}

			public static void Delete(Conditions conditions)
			{
				AlbumDAL.Delete(conditions);
			}

			public static bool Exists(Conditions conditions)
			{
				return AlbumDAL.Exists(conditions);
			}

			public static int Count(Conditions conditions)
			{
				return AlbumDAL.Count(conditions);
			}

						
			
			public static AlbumInfo Find(System.Int32 _Id)
			{
				return AlbumDAL.Find(_Id);
			}

			public static bool Exists(System.Int32 _Id)
			{
				return AlbumDAL.Exists(_Id);
			}

			public static void Delete(System.Int32 _Id)
			{
				AlbumDAL.Delete(_Id);
			}
			
		}
		
		/// <summary>
		/// Map to Table t_album_description
		/// </summary>
		public partial class AlbumDescriptionBLL
		{
			public static List<AlbumDescriptionInfo> FindAll(Conditions conditions, Orders orders)
			{
				return AlbumDescriptionDAL.FindAll(conditions, orders);
			}

			public static List<AlbumDescriptionInfo> FindPage(Conditions conditions, Orders orders, int pageIndex, int pageSize, ref int recordCount)
			{
				return AlbumDescriptionDAL.FindPage(conditions, orders, pageIndex, pageSize, ref recordCount);
			}

			public static AlbumDescriptionInfo Find(Conditions conditions, Orders orders)
			{
				return AlbumDescriptionDAL.Find(conditions, orders);
			}

			public static int Add(AlbumDescriptionInfo info)
			{
				return AlbumDescriptionDAL.Add(info);
			}

			public static void Update(AlbumDescriptionInfo info)
			{
				AlbumDescriptionDAL.Update(info);
			}

			public static void Delete(Conditions conditions)
			{
				AlbumDescriptionDAL.Delete(conditions);
			}

			public static bool Exists(Conditions conditions)
			{
				return AlbumDescriptionDAL.Exists(conditions);
			}

			public static int Count(Conditions conditions)
			{
				return AlbumDescriptionDAL.Count(conditions);
			}

						
			
			public static AlbumDescriptionInfo Find(System.Int32 _AlbumId)
			{
				return AlbumDescriptionDAL.Find(_AlbumId);
			}

			public static bool Exists(System.Int32 _AlbumId)
			{
				return AlbumDescriptionDAL.Exists(_AlbumId);
			}

			public static void Delete(System.Int32 _AlbumId)
			{
				AlbumDescriptionDAL.Delete(_AlbumId);
			}
			
		}
		
		/// <summary>
		/// Map to Table t_channel_token
		/// </summary>
		public partial class ChannelTokenBLL
		{
			public static List<ChannelTokenInfo> FindAll(Conditions conditions, Orders orders)
			{
				return ChannelTokenDAL.FindAll(conditions, orders);
			}

			public static List<ChannelTokenInfo> FindPage(Conditions conditions, Orders orders, int pageIndex, int pageSize, ref int recordCount)
			{
				return ChannelTokenDAL.FindPage(conditions, orders, pageIndex, pageSize, ref recordCount);
			}

			public static ChannelTokenInfo Find(Conditions conditions, Orders orders)
			{
				return ChannelTokenDAL.Find(conditions, orders);
			}

			public static int Add(ChannelTokenInfo info)
			{
				return ChannelTokenDAL.Add(info);
			}

			public static void Update(ChannelTokenInfo info)
			{
				ChannelTokenDAL.Update(info);
			}

			public static void Delete(Conditions conditions)
			{
				ChannelTokenDAL.Delete(conditions);
			}

			public static bool Exists(Conditions conditions)
			{
				return ChannelTokenDAL.Exists(conditions);
			}

			public static int Count(Conditions conditions)
			{
				return ChannelTokenDAL.Count(conditions);
			}

						
			
			public static ChannelTokenInfo Find(System.Int32 _Id)
			{
				return ChannelTokenDAL.Find(_Id);
			}

			public static bool Exists(System.Int32 _Id)
			{
				return ChannelTokenDAL.Exists(_Id);
			}

			public static void Delete(System.Int32 _Id)
			{
				ChannelTokenDAL.Delete(_Id);
			}
			
		}
		
		/// <summary>
		/// Map to Table t_channel_url
		/// </summary>
		public partial class ChannelUrlBLL
		{
			public static List<ChannelUrlInfo> FindAll(Conditions conditions, Orders orders)
			{
				return ChannelUrlDAL.FindAll(conditions, orders);
			}

			public static List<ChannelUrlInfo> FindPage(Conditions conditions, Orders orders, int pageIndex, int pageSize, ref int recordCount)
			{
				return ChannelUrlDAL.FindPage(conditions, orders, pageIndex, pageSize, ref recordCount);
			}

			public static ChannelUrlInfo Find(Conditions conditions, Orders orders)
			{
				return ChannelUrlDAL.Find(conditions, orders);
			}

			public static int Add(ChannelUrlInfo info)
			{
				return ChannelUrlDAL.Add(info);
			}

			public static void Update(ChannelUrlInfo info)
			{
				ChannelUrlDAL.Update(info);
			}

			public static void Delete(Conditions conditions)
			{
				ChannelUrlDAL.Delete(conditions);
			}

			public static bool Exists(Conditions conditions)
			{
				return ChannelUrlDAL.Exists(conditions);
			}

			public static int Count(Conditions conditions)
			{
				return ChannelUrlDAL.Count(conditions);
			}

						
			
			public static ChannelUrlInfo Find(System.Int32 _Id)
			{
				return ChannelUrlDAL.Find(_Id);
			}

			public static bool Exists(System.Int32 _Id)
			{
				return ChannelUrlDAL.Exists(_Id);
			}

			public static void Delete(System.Int32 _Id)
			{
				ChannelUrlDAL.Delete(_Id);
			}
			
		}
		
		/// <summary>
		/// Map to Table t_dictionary
		/// </summary>
		public partial class DictionaryBLL
		{
			public static List<DictionaryInfo> FindAll(Conditions conditions, Orders orders)
			{
				return DictionaryDAL.FindAll(conditions, orders);
			}

			public static List<DictionaryInfo> FindPage(Conditions conditions, Orders orders, int pageIndex, int pageSize, ref int recordCount)
			{
				return DictionaryDAL.FindPage(conditions, orders, pageIndex, pageSize, ref recordCount);
			}

			public static DictionaryInfo Find(Conditions conditions, Orders orders)
			{
				return DictionaryDAL.Find(conditions, orders);
			}

			public static int Add(DictionaryInfo info)
			{
				return DictionaryDAL.Add(info);
			}

			public static void Update(DictionaryInfo info)
			{
				DictionaryDAL.Update(info);
			}

			public static void Delete(Conditions conditions)
			{
				DictionaryDAL.Delete(conditions);
			}

			public static bool Exists(Conditions conditions)
			{
				return DictionaryDAL.Exists(conditions);
			}

			public static int Count(Conditions conditions)
			{
				return DictionaryDAL.Count(conditions);
			}

						
			
			public static DictionaryInfo Find(System.Int32 _Id)
			{
				return DictionaryDAL.Find(_Id);
			}

			public static bool Exists(System.Int32 _Id)
			{
				return DictionaryDAL.Exists(_Id);
			}

			public static void Delete(System.Int32 _Id)
			{
				DictionaryDAL.Delete(_Id);
			}
			
		}
		
		/// <summary>
		/// Map to Table t_episode
		/// </summary>
		public partial class EpisodeBLL
		{
			public static List<EpisodeInfo> FindAll(Conditions conditions, Orders orders)
			{
				return EpisodeDAL.FindAll(conditions, orders);
			}

			public static List<EpisodeInfo> FindPage(Conditions conditions, Orders orders, int pageIndex, int pageSize, ref int recordCount)
			{
				return EpisodeDAL.FindPage(conditions, orders, pageIndex, pageSize, ref recordCount);
			}

			public static EpisodeInfo Find(Conditions conditions, Orders orders)
			{
				return EpisodeDAL.Find(conditions, orders);
			}

			public static int Add(EpisodeInfo info)
			{
				return EpisodeDAL.Add(info);
			}

			public static void Update(EpisodeInfo info)
			{
				EpisodeDAL.Update(info);
			}

			public static void Delete(Conditions conditions)
			{
				EpisodeDAL.Delete(conditions);
			}

			public static bool Exists(Conditions conditions)
			{
				return EpisodeDAL.Exists(conditions);
			}

			public static int Count(Conditions conditions)
			{
				return EpisodeDAL.Count(conditions);
			}

						
			
			public static EpisodeInfo Find(System.Int32 _Id)
			{
				return EpisodeDAL.Find(_Id);
			}

			public static bool Exists(System.Int32 _Id)
			{
				return EpisodeDAL.Exists(_Id);
			}

			public static void Delete(System.Int32 _Id)
			{
				EpisodeDAL.Delete(_Id);
			}
			
		}
		
		/// <summary>
		/// Map to Table t_netbar
		/// </summary>
		public partial class NetbarBLL
		{
			public static List<NetbarInfo> FindAll(Conditions conditions, Orders orders)
			{
				return NetbarDAL.FindAll(conditions, orders);
			}

			public static List<NetbarInfo> FindPage(Conditions conditions, Orders orders, int pageIndex, int pageSize, ref int recordCount)
			{
				return NetbarDAL.FindPage(conditions, orders, pageIndex, pageSize, ref recordCount);
			}

			public static NetbarInfo Find(Conditions conditions, Orders orders)
			{
				return NetbarDAL.Find(conditions, orders);
			}

			public static int Add(NetbarInfo info)
			{
				return NetbarDAL.Add(info);
			}

			public static void Update(NetbarInfo info)
			{
				NetbarDAL.Update(info);
			}

			public static void Delete(Conditions conditions)
			{
				NetbarDAL.Delete(conditions);
			}

			public static bool Exists(Conditions conditions)
			{
				return NetbarDAL.Exists(conditions);
			}

			public static int Count(Conditions conditions)
			{
				return NetbarDAL.Count(conditions);
			}

						
			
			public static NetbarInfo Find(System.Int32 _Id)
			{
				return NetbarDAL.Find(_Id);
			}

			public static bool Exists(System.Int32 _Id)
			{
				return NetbarDAL.Exists(_Id);
			}

			public static void Delete(System.Int32 _Id)
			{
				NetbarDAL.Delete(_Id);
			}
			
		}
		
		/// <summary>
		/// Map to Table t_order
		/// </summary>
		public partial class OrderBLL
		{
			public static List<OrderInfo> FindAll(Conditions conditions, Orders orders)
			{
				return OrderDAL.FindAll(conditions, orders);
			}

			public static List<OrderInfo> FindPage(Conditions conditions, Orders orders, int pageIndex, int pageSize, ref int recordCount)
			{
				return OrderDAL.FindPage(conditions, orders, pageIndex, pageSize, ref recordCount);
			}

			public static OrderInfo Find(Conditions conditions, Orders orders)
			{
				return OrderDAL.Find(conditions, orders);
			}

			public static int Add(OrderInfo info)
			{
				return OrderDAL.Add(info);
			}

			public static void Update(OrderInfo info)
			{
				OrderDAL.Update(info);
			}

			public static void Delete(Conditions conditions)
			{
				OrderDAL.Delete(conditions);
			}

			public static bool Exists(Conditions conditions)
			{
				return OrderDAL.Exists(conditions);
			}

			public static int Count(Conditions conditions)
			{
				return OrderDAL.Count(conditions);
			}

						
			
			public static OrderInfo Find(System.Int32 _Id)
			{
				return OrderDAL.Find(_Id);
			}

			public static bool Exists(System.Int32 _Id)
			{
				return OrderDAL.Exists(_Id);
			}

			public static void Delete(System.Int32 _Id)
			{
				OrderDAL.Delete(_Id);
			}
			
		}
		
		/// <summary>
		/// Map to Table t_product
		/// </summary>
		public partial class ProductBLL
		{
			public static List<ProductInfo> FindAll(Conditions conditions, Orders orders)
			{
				return ProductDAL.FindAll(conditions, orders);
			}

			public static List<ProductInfo> FindPage(Conditions conditions, Orders orders, int pageIndex, int pageSize, ref int recordCount)
			{
				return ProductDAL.FindPage(conditions, orders, pageIndex, pageSize, ref recordCount);
			}

			public static ProductInfo Find(Conditions conditions, Orders orders)
			{
				return ProductDAL.Find(conditions, orders);
			}

			public static int Add(ProductInfo info)
			{
				return ProductDAL.Add(info);
			}

			public static void Update(ProductInfo info)
			{
				ProductDAL.Update(info);
			}

			public static void Delete(Conditions conditions)
			{
				ProductDAL.Delete(conditions);
			}

			public static bool Exists(Conditions conditions)
			{
				return ProductDAL.Exists(conditions);
			}

			public static int Count(Conditions conditions)
			{
				return ProductDAL.Count(conditions);
			}

						
			
			public static ProductInfo Find(System.Int32 _Id)
			{
				return ProductDAL.Find(_Id);
			}

			public static bool Exists(System.Int32 _Id)
			{
				return ProductDAL.Exists(_Id);
			}

			public static void Delete(System.Int32 _Id)
			{
				ProductDAL.Delete(_Id);
			}
			
		}
		
		/// <summary>
		/// Map to Table t_role
		/// </summary>
		public partial class RoleBLL
		{
			public static List<RoleInfo> FindAll(Conditions conditions, Orders orders)
			{
				return RoleDAL.FindAll(conditions, orders);
			}

			public static List<RoleInfo> FindPage(Conditions conditions, Orders orders, int pageIndex, int pageSize, ref int recordCount)
			{
				return RoleDAL.FindPage(conditions, orders, pageIndex, pageSize, ref recordCount);
			}

			public static RoleInfo Find(Conditions conditions, Orders orders)
			{
				return RoleDAL.Find(conditions, orders);
			}

			public static int Add(RoleInfo info)
			{
				return RoleDAL.Add(info);
			}

			public static void Update(RoleInfo info)
			{
				RoleDAL.Update(info);
			}

			public static void Delete(Conditions conditions)
			{
				RoleDAL.Delete(conditions);
			}

			public static bool Exists(Conditions conditions)
			{
				return RoleDAL.Exists(conditions);
			}

			public static int Count(Conditions conditions)
			{
				return RoleDAL.Count(conditions);
			}

						
			
			public static RoleInfo Find(System.Int32 _Id)
			{
				return RoleDAL.Find(_Id);
			}

			public static bool Exists(System.Int32 _Id)
			{
				return RoleDAL.Exists(_Id);
			}

			public static void Delete(System.Int32 _Id)
			{
				RoleDAL.Delete(_Id);
			}
			
		}
		
		/// <summary>
		/// Map to Table t_site
		/// </summary>
		public partial class SiteBLL
		{
			public static List<SiteInfo> FindAll(Conditions conditions, Orders orders)
			{
				return SiteDAL.FindAll(conditions, orders);
			}

			public static List<SiteInfo> FindPage(Conditions conditions, Orders orders, int pageIndex, int pageSize, ref int recordCount)
			{
				return SiteDAL.FindPage(conditions, orders, pageIndex, pageSize, ref recordCount);
			}

			public static SiteInfo Find(Conditions conditions, Orders orders)
			{
				return SiteDAL.Find(conditions, orders);
			}

			public static int Add(SiteInfo info)
			{
				return SiteDAL.Add(info);
			}

			public static void Update(SiteInfo info)
			{
				SiteDAL.Update(info);
			}

			public static void Delete(Conditions conditions)
			{
				SiteDAL.Delete(conditions);
			}

			public static bool Exists(Conditions conditions)
			{
				return SiteDAL.Exists(conditions);
			}

			public static int Count(Conditions conditions)
			{
				return SiteDAL.Count(conditions);
			}

						
			
			public static SiteInfo Find(System.Int32 _Id)
			{
				return SiteDAL.Find(_Id);
			}

			public static bool Exists(System.Int32 _Id)
			{
				return SiteDAL.Exists(_Id);
			}

			public static void Delete(System.Int32 _Id)
			{
				SiteDAL.Delete(_Id);
			}
			
		}
		
		/// <summary>
		/// Map to Table t_site_channel
		/// </summary>
		public partial class SiteChannelBLL
		{
			public static List<SiteChannelInfo> FindAll(Conditions conditions, Orders orders)
			{
				return SiteChannelDAL.FindAll(conditions, orders);
			}

			public static List<SiteChannelInfo> FindPage(Conditions conditions, Orders orders, int pageIndex, int pageSize, ref int recordCount)
			{
				return SiteChannelDAL.FindPage(conditions, orders, pageIndex, pageSize, ref recordCount);
			}

			public static SiteChannelInfo Find(Conditions conditions, Orders orders)
			{
				return SiteChannelDAL.Find(conditions, orders);
			}

			public static int Add(SiteChannelInfo info)
			{
				return SiteChannelDAL.Add(info);
			}

			public static void Update(SiteChannelInfo info)
			{
				SiteChannelDAL.Update(info);
			}

			public static void Delete(Conditions conditions)
			{
				SiteChannelDAL.Delete(conditions);
			}

			public static bool Exists(Conditions conditions)
			{
				return SiteChannelDAL.Exists(conditions);
			}

			public static int Count(Conditions conditions)
			{
				return SiteChannelDAL.Count(conditions);
			}

						
			
			public static SiteChannelInfo Find(System.Int32 _Id)
			{
				return SiteChannelDAL.Find(_Id);
			}

			public static bool Exists(System.Int32 _Id)
			{
				return SiteChannelDAL.Exists(_Id);
			}

			public static void Delete(System.Int32 _Id)
			{
				SiteChannelDAL.Delete(_Id);
			}
			
		}
		
		/// <summary>
		/// Map to Table t_site_token
		/// </summary>
		public partial class SiteTokenBLL
		{
			public static List<SiteTokenInfo> FindAll(Conditions conditions, Orders orders)
			{
				return SiteTokenDAL.FindAll(conditions, orders);
			}

			public static List<SiteTokenInfo> FindPage(Conditions conditions, Orders orders, int pageIndex, int pageSize, ref int recordCount)
			{
				return SiteTokenDAL.FindPage(conditions, orders, pageIndex, pageSize, ref recordCount);
			}

			public static SiteTokenInfo Find(Conditions conditions, Orders orders)
			{
				return SiteTokenDAL.Find(conditions, orders);
			}

			public static int Add(SiteTokenInfo info)
			{
				return SiteTokenDAL.Add(info);
			}

			public static void Update(SiteTokenInfo info)
			{
				SiteTokenDAL.Update(info);
			}

			public static void Delete(Conditions conditions)
			{
				SiteTokenDAL.Delete(conditions);
			}

			public static bool Exists(Conditions conditions)
			{
				return SiteTokenDAL.Exists(conditions);
			}

			public static int Count(Conditions conditions)
			{
				return SiteTokenDAL.Count(conditions);
			}

						
			
			public static SiteTokenInfo Find(System.Int32 _Id)
			{
				return SiteTokenDAL.Find(_Id);
			}

			public static bool Exists(System.Int32 _Id)
			{
				return SiteTokenDAL.Exists(_Id);
			}

			public static void Delete(System.Int32 _Id)
			{
				SiteTokenDAL.Delete(_Id);
			}
			
		}
		
		/// <summary>
		/// Map to Table t_token_url
		/// </summary>
		public partial class TokenUrlBLL
		{
			public static List<TokenUrlInfo> FindAll(Conditions conditions, Orders orders)
			{
				return TokenUrlDAL.FindAll(conditions, orders);
			}

			public static List<TokenUrlInfo> FindPage(Conditions conditions, Orders orders, int pageIndex, int pageSize, ref int recordCount)
			{
				return TokenUrlDAL.FindPage(conditions, orders, pageIndex, pageSize, ref recordCount);
			}

			public static TokenUrlInfo Find(Conditions conditions, Orders orders)
			{
				return TokenUrlDAL.Find(conditions, orders);
			}

			public static int Add(TokenUrlInfo info)
			{
				return TokenUrlDAL.Add(info);
			}

			public static void Update(TokenUrlInfo info)
			{
				TokenUrlDAL.Update(info);
			}

			public static void Delete(Conditions conditions)
			{
				TokenUrlDAL.Delete(conditions);
			}

			public static bool Exists(Conditions conditions)
			{
				return TokenUrlDAL.Exists(conditions);
			}

			public static int Count(Conditions conditions)
			{
				return TokenUrlDAL.Count(conditions);
			}

						
			
			public static TokenUrlInfo Find(System.Int32 _Id)
			{
				return TokenUrlDAL.Find(_Id);
			}

			public static bool Exists(System.Int32 _Id)
			{
				return TokenUrlDAL.Exists(_Id);
			}

			public static void Delete(System.Int32 _Id)
			{
				TokenUrlDAL.Delete(_Id);
			}
			
		}
		
		/// <summary>
		/// Map to Table t_user
		/// </summary>
		public partial class UserBLL
		{
			public static List<UserInfo> FindAll(Conditions conditions, Orders orders)
			{
				return UserDAL.FindAll(conditions, orders);
			}

			public static List<UserInfo> FindPage(Conditions conditions, Orders orders, int pageIndex, int pageSize, ref int recordCount)
			{
				return UserDAL.FindPage(conditions, orders, pageIndex, pageSize, ref recordCount);
			}

			public static UserInfo Find(Conditions conditions, Orders orders)
			{
				return UserDAL.Find(conditions, orders);
			}

			public static int Add(UserInfo info)
			{
				return UserDAL.Add(info);
			}

			public static void Update(UserInfo info)
			{
				UserDAL.Update(info);
			}

			public static void Delete(Conditions conditions)
			{
				UserDAL.Delete(conditions);
			}

			public static bool Exists(Conditions conditions)
			{
				return UserDAL.Exists(conditions);
			}

			public static int Count(Conditions conditions)
			{
				return UserDAL.Count(conditions);
			}

						
			
			public static UserInfo Find(System.Int32 _Id)
			{
				return UserDAL.Find(_Id);
			}

			public static bool Exists(System.Int32 _Id)
			{
				return UserDAL.Exists(_Id);
			}

			public static void Delete(System.Int32 _Id)
			{
				UserDAL.Delete(_Id);
			}
			
		}
		
		/// <summary>
		/// Map to Table t_user_profile
		/// </summary>
		public partial class UserProfileBLL
		{
			public static List<UserProfileInfo> FindAll(Conditions conditions, Orders orders)
			{
				return UserProfileDAL.FindAll(conditions, orders);
			}

			public static List<UserProfileInfo> FindPage(Conditions conditions, Orders orders, int pageIndex, int pageSize, ref int recordCount)
			{
				return UserProfileDAL.FindPage(conditions, orders, pageIndex, pageSize, ref recordCount);
			}

			public static UserProfileInfo Find(Conditions conditions, Orders orders)
			{
				return UserProfileDAL.Find(conditions, orders);
			}

			public static int Add(UserProfileInfo info)
			{
				return UserProfileDAL.Add(info);
			}

			public static void Update(UserProfileInfo info)
			{
				UserProfileDAL.Update(info);
			}

			public static void Delete(Conditions conditions)
			{
				UserProfileDAL.Delete(conditions);
			}

			public static bool Exists(Conditions conditions)
			{
				return UserProfileDAL.Exists(conditions);
			}

			public static int Count(Conditions conditions)
			{
				return UserProfileDAL.Count(conditions);
			}

						
			
			public static UserProfileInfo Find(System.Int32 _UserId)
			{
				return UserProfileDAL.Find(_UserId);
			}

			public static bool Exists(System.Int32 _UserId)
			{
				return UserProfileDAL.Exists(_UserId);
			}

			public static void Delete(System.Int32 _UserId)
			{
				UserProfileDAL.Delete(_UserId);
			}
			
		}
		
		/// <summary>
		/// Map to Table t_user_role
		/// </summary>
		public partial class UserRoleBLL
		{
			public static List<UserRoleInfo> FindAll(Conditions conditions, Orders orders)
			{
				return UserRoleDAL.FindAll(conditions, orders);
			}

			public static List<UserRoleInfo> FindPage(Conditions conditions, Orders orders, int pageIndex, int pageSize, ref int recordCount)
			{
				return UserRoleDAL.FindPage(conditions, orders, pageIndex, pageSize, ref recordCount);
			}

			public static UserRoleInfo Find(Conditions conditions, Orders orders)
			{
				return UserRoleDAL.Find(conditions, orders);
			}

			public static int Add(UserRoleInfo info)
			{
				return UserRoleDAL.Add(info);
			}

			public static void Update(UserRoleInfo info)
			{
				UserRoleDAL.Update(info);
			}

			public static void Delete(Conditions conditions)
			{
				UserRoleDAL.Delete(conditions);
			}

			public static bool Exists(Conditions conditions)
			{
				return UserRoleDAL.Exists(conditions);
			}

			public static int Count(Conditions conditions)
			{
				return UserRoleDAL.Count(conditions);
			}

						
			
			public static UserRoleInfo Find(System.Int32 _UserId, System.Int32 _RoleId)
			{
				return UserRoleDAL.Find(_UserId, _RoleId);
			}

			public static bool Exists(System.Int32 _UserId, System.Int32 _RoleId)
			{
				return UserRoleDAL.Exists(_UserId, _RoleId);
			}

			public static void Delete(System.Int32 _UserId, System.Int32 _RoleId)
			{
				UserRoleDAL.Delete(_UserId, _RoleId);
			}
			
		}
		
		/// <summary>
		/// Map to Table t_video
		/// </summary>
		public partial class VideoBLL
		{
			public static List<VideoInfo> FindAll(Conditions conditions, Orders orders)
			{
				return VideoDAL.FindAll(conditions, orders);
			}

			public static List<VideoInfo> FindPage(Conditions conditions, Orders orders, int pageIndex, int pageSize, ref int recordCount)
			{
				return VideoDAL.FindPage(conditions, orders, pageIndex, pageSize, ref recordCount);
			}

			public static VideoInfo Find(Conditions conditions, Orders orders)
			{
				return VideoDAL.Find(conditions, orders);
			}

			public static int Add(VideoInfo info)
			{
				return VideoDAL.Add(info);
			}

			public static void Update(VideoInfo info)
			{
				VideoDAL.Update(info);
			}

			public static void Delete(Conditions conditions)
			{
				VideoDAL.Delete(conditions);
			}

			public static bool Exists(Conditions conditions)
			{
				return VideoDAL.Exists(conditions);
			}

			public static int Count(Conditions conditions)
			{
				return VideoDAL.Count(conditions);
			}

						
			
			public static VideoInfo Find(System.Int32 _Id)
			{
				return VideoDAL.Find(_Id);
			}

			public static bool Exists(System.Int32 _Id)
			{
				return VideoDAL.Exists(_Id);
			}

			public static void Delete(System.Int32 _Id)
			{
				VideoDAL.Delete(_Id);
			}
			
		}
	
	#region Views
	
		
		/// <summary>
		/// Map to Table v_channel_url_token
		/// </summary>
		public partial class ChannelUrlTokenBLL
		{
			public static List<ChannelUrlTokenInfo> FindAll(Conditions conditions, Orders orders)
			{
				return ChannelUrlTokenDAL.FindAll(conditions, orders);
			}

			public static List<ChannelUrlTokenInfo> FindPage(Conditions conditions, Orders orders, int pageIndex, int pageSize, ref int recordCount)
			{
				return ChannelUrlTokenDAL.FindPage(conditions, orders, pageIndex, pageSize, ref recordCount);
			}

			public static ChannelUrlTokenInfo Find(Conditions conditions, Orders orders)
			{
				return ChannelUrlTokenDAL.Find(conditions, orders);
			}

			public static bool Exists(Conditions conditions)
			{
				return ChannelUrlTokenDAL.Exists(conditions);
			}

			public static int Count(Conditions conditions)
			{
				return ChannelUrlTokenDAL.Count(conditions);
			}

						
			
			public static ChannelUrlTokenInfo Find(System.Int32 _Id)
			{
				return ChannelUrlTokenDAL.Find(_Id);
			}

			public static bool Exists(System.Int32 _Id)
			{
				return ChannelUrlTokenDAL.Exists(_Id);
			}
			
		}
		#endregion

}